package org.jeecg.modules.clues.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 线索管理
 * @Author: jeecg-boot
 * @Date:   2020-05-04
 * @Version: V1.0
 */
@Data
@TableName("cue_clues_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="cue_clues_info对象", description="线索管理")
public class Clues {

	/**主键ID*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键ID")
	private String id;
	/**创建人*/
	@Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**修改人*/
	@Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
	private String updateBy;
	/**修改时间*/
	@Excel(name = "修改时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
	private Date updateTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
	private String remark;
	/**删除标识0-正常,1-已删除*/
	@Excel(name = "删除标识0-正常,1-已删除", width = 15)
    @ApiModelProperty(value = "删除标识0-正常,1-已删除")
	private Integer delFlag;
	/**过期标识 30天后自动设置过期 1、是 0、否*/
	@Excel(name = "过期标识 30天后自动设置过期 1、是 0、否", width = 15)
    @ApiModelProperty(value = "过期标识 30天后自动设置过期 1、是 0、否")
	private Integer isExpire;
	/**爆料人id*/
	@Excel(name = "爆料人id", width = 15)
    @ApiModelProperty(value = "爆料人id")
	private String userId;
	/**爆料人姓名*/
	@Excel(name = "爆料人姓名", width = 15)
    @ApiModelProperty(value = "爆料人姓名")
	private String userName;
	/**关键词*/
	@Excel(name = "关键词", width = 15)
    @ApiModelProperty(value = "关键词")
	private String keyword;
	/**线索标题*/
	@Excel(name = "线索标题", width = 15)
    @ApiModelProperty(value = "线索标题")
	private String cluesTitle;
	/**线索副标题*/
	@Excel(name = "线索副标题", width = 15)
    @ApiModelProperty(value = "线索副标题")
	private String cluesSubTitle;
	/**线索内容*/
	@Excel(name = "线索内容", width = 15)
    @ApiModelProperty(value = "线索内容")
	private Object cluesContent;
	/**爬取地址*/
	@Excel(name = "爬取地址", width = 15)
    @ApiModelProperty(value = "爬取地址")
	private String crawlerUrl;
	/**线索来源1、爬虫 2、用户爆料  3、内部发起*/
	@Excel(name = "线索来源1、爬虫 2、用户爆料  3、内部发起", width = 15)
    @ApiModelProperty(value = "线索来源1、爬虫 2、用户爆料  3、内部发起")
	private Integer cluesSource;
	/**爬取来源 微信 微博  头条  */
	@Excel(name = "爬取来源 微信 微博  头条  ", width = 15)
    @ApiModelProperty(value = "爬取来源 微信 微博  头条  ")
	private Integer crawlerSource;
	/**转发数*/
	@Excel(name = "转发数", width = 15)
    @ApiModelProperty(value = "转发数")
	private Integer forwardNum;
	/**评论数*/
	@Excel(name = "评论数", width = 15)
    @ApiModelProperty(value = "评论数")
	private Integer remarkNum;
	/**阅读量*/
	@Excel(name = "阅读量", width = 15)
    @ApiModelProperty(value = "阅读量")
	private Integer readNum;
	/**发布时间*/
	@Excel(name = "发布时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "发布时间")
	private Date releaseTime;

	/**图标*/
	@Excel(name = "图标", width = 15)
	@ApiModelProperty(value = "图标")
	@TableField(exist = false)
	private String icon;


	/**图标*/
	@Excel(name = "来源网站", width = 15)
	@ApiModelProperty(value = "来源网站")
	@TableField(exist = false)
	private String siteName;


	private String imgUrl1;
	private String imgUrl2;
	private String imgUrl3;
	private String imgUrl4;
	private String imgUrl5;
	private String imgUrl6;
}
